{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { genComponentStyleHook } from '../../theme/internal';\nvar genWaveStyle = function genWaveStyle(token) {\n  var componentCls = token.componentCls,\n    colorPrimary = token.colorPrimary;\n  return _defineProperty({}, componentCls, {\n    position: 'fixed',\n    background: 'transparent',\n    pointerEvents: 'none',\n    boxSizing: 'border-box',\n    color: \"var(--wave-color, \".concat(colorPrimary, \")\"),\n    boxShadow: \"0 0 0 0 currentcolor\",\n    opacity: 0.2,\n    // =================== Motion ===================\n    '&.wave-motion-appear': {\n      transition: [\"box-shadow 0.4s \".concat(token.motionEaseOutCirc), \"opacity 2s \".concat(token.motionEaseOutCirc)].join(','),\n      '&-active': {\n        boxShadow: \"0 0 0 calc(6px * var(--wave-scale)) currentcolor\",\n        opacity: 0\n      }\n    }\n  });\n};\nexport default genComponentStyleHook('Wave', function (token) {\n  return [genWaveStyle(token)];\n});","map":{"version":3,"names":["genComponentStyleHook","genWaveStyle","token","componentCls","colorPrimary","position","background","pointerEvents","boxSizing","color","boxShadow","opacity","transition","motionEaseOutCirc","join"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/_util/wave/style.js"],"sourcesContent":["import { genComponentStyleHook } from '../../theme/internal';\nconst genWaveStyle = token => {\n  const {\n    componentCls,\n    colorPrimary\n  } = token;\n  return {\n    [componentCls]: {\n      position: 'fixed',\n      background: 'transparent',\n      pointerEvents: 'none',\n      boxSizing: 'border-box',\n      color: `var(--wave-color, ${colorPrimary})`,\n      boxShadow: `0 0 0 0 currentcolor`,\n      opacity: 0.2,\n      // =================== Motion ===================\n      '&.wave-motion-appear': {\n        transition: [`box-shadow 0.4s ${token.motionEaseOutCirc}`, `opacity 2s ${token.motionEaseOutCirc}`].join(','),\n        '&-active': {\n          boxShadow: `0 0 0 calc(6px * var(--wave-scale)) currentcolor`,\n          opacity: 0\n        }\n      }\n    }\n  };\n};\nexport default genComponentStyleHook('Wave', token => [genWaveStyle(token)]);"],"mappings":";AAAA,SAASA,qBAAqB,QAAQ,sBAAsB;AAC5D,IAAMC,YAAY,GAAG,SAAfA,YAAY,CAAGC,KAAK,EAAI;EAC5B,IACEC,YAAY,GAEVD,KAAK,CAFPC,YAAY;IACZC,YAAY,GACVF,KAAK,CADPE,YAAY;EAEd,2BACGD,YAAY,EAAG;IACdE,QAAQ,EAAE,OAAO;IACjBC,UAAU,EAAE,aAAa;IACzBC,aAAa,EAAE,MAAM;IACrBC,SAAS,EAAE,YAAY;IACvBC,KAAK,8BAAuBL,YAAY,MAAG;IAC3CM,SAAS,wBAAwB;IACjCC,OAAO,EAAE,GAAG;IACZ;IACA,sBAAsB,EAAE;MACtBC,UAAU,EAAE,2BAAoBV,KAAK,CAACW,iBAAiB,wBAAkBX,KAAK,CAACW,iBAAiB,EAAG,CAACC,IAAI,CAAC,GAAG,CAAC;MAC7G,UAAU,EAAE;QACVJ,SAAS,oDAAoD;QAC7DC,OAAO,EAAE;MACX;IACF;EACF,CAAC;AAEL,CAAC;AACD,eAAeX,qBAAqB,CAAC,MAAM,EAAE,UAAAE,KAAK;EAAA,OAAI,CAACD,YAAY,CAACC,KAAK,CAAC,CAAC;AAAA,EAAC"},"metadata":{},"sourceType":"module"}